package com.prothink.service.impl;


import com.prothink.dao.ProductCollectionDao;
import com.prothink.entity.ProductCollection;
import com.prothink.service.ProductCollectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductCollectionServiceMpl implements ProductCollectionService {
    @Autowired
    private ProductCollectionDao getProductCollection;


    @Override
    public List getProductCollection(ProductCollection productCollection) {
        return getProductCollection.getProductCollection(productCollection);
    }

    @Override
    public Integer addProductCollection(ProductCollection productCollection) {
        return getProductCollection.addProductCollection(productCollection);
    }
}
